//
//  DiscoveryController.swift
//  新浪微博项目
//
//  Created by 王炯 on 16/7/19.
//  Copyright © 2016年 王炯. All rights reserved.
//

import UIKit

class DiscoveryController: BaseVistorController
{

    override func viewDidLoad()
    {
        super.viewDidLoad()
        
        //判断是否处于未登录状态
        if !isLogin
        {
            self.vistorView?.setUpUIWithVCInfo("visitordiscover_image_message", wordStr: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
            
            return
        }
        
        //设置视图
        setUpUI()
    }
    
    //设置视图
    func setUpUI()
    {
        //设置其为titleView
        navigationItem.titleView = SearchView()
    }

    override func didReceiveMemoryWarning()
    {
        super.didReceiveMemoryWarning()
    }
    

}
